﻿namespace OasisCiq.Xpil
{
    using System.Collections.Generic;
    using System.Collections.Specialized;
    using External;

    // TODO: Add note about minimal subelement requirements into all containers

    /// <summary>
    /// A container to define the accounts details of the party
    /// Note at least one account required
    /// </summary>
    public class Accounts : List<Account>, IExtendedAttributes
    {
        public Accounts()
        {
        }

        public Accounts(int capacity)
            : base(capacity)
        {
        }

        public Accounts(IEnumerable<Account> collection)
            : base(collection)
        {
        }

        public NameValueCollection ExtendedAttributes { get; set; }
    }
}
